#ifndef __UNIT_TRANSCODESTRING_H__
#define __UNIT_TRANSCODESTRING_H__

#include "Common/Unit/Exception.h"
#include <string>

namespace Common
{
	class CLangException
		:CException
	{
	public:
		CLangException( const char* exp );
		virtual ~CLangException();
	};
	std::string utf162utf8( const std::wstring& wstr );
	std::wstring utf82utf16( const std::string& str );
	bool isutf8( const char* buf , int size );
}
#endif
